Skip to content

Instantly share code, notes, and snippets.

@matthewzring
matthewzring / markdown-text-101.md
Last active May 30, 2026 08:47
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@eimg
eimg / typescript.md
Last active May 30, 2026 08:41
TypeScript - လိုတိုရှင်း

TypeScript - လိုတိုရှင်း

JavaScript ဟာ Dynamic Type Language တစ်ခုပါ။ Data Type တွေကို Language က လိုသလို အလိုအလျှောက် ပြောင်းလဲအလုပ်လုပ်ပေးတဲ့အတွက် ရေးသားသူက Type ကိစ္စ သိပ်ခေါင်းစားနေစရာမလိုဘဲ ရေးစရာရှိတဲ့ကုဒ်တွေကို ခပ်မြန်မြန် ရေးသွားလို့ရပါတယ်။

let value;        // undefined
value = "Alice";  // string
value = 42;       // number
value = true;     // boolean
@ahgraber
ahgraber / docker-secrets.md
Last active May 30, 2026 08:38
Docker-secrets

GOAL: Keep secrets out of plaintext (esp when syncing dockerfile and docker-compose.yaml to repo)

  1. Each secret needs to be a single text file with a clear name
  2. Edit docker-entrypoint.sh to run per environmental variable
  3. (Re)Build docker image with docker-entrypoint.sh as entrypoint
  4. Create secrets in docker-compose
  5. Call secrets with "_FILE" appended to the name when specifying environmental variable

secret-init.sh:

@kokoye2007
kokoye2007 / PRICING.md
Last active May 30, 2026 08:37
Vibe Code Tours — student setup (Linux/macOS/WSL): nvm+Node22, uv+Python3.12, git, Claude Code + verify

API Pricing & Free-Tier Cheat Sheet

Quick reference for picking a provider/CLI on day 1. All numbers verified early-mid 2026 — confirm live before you depend on them. Pricing and quotas change frequently (especially Chinese providers and free-tier limits).

TL;DR — what to use day 1

Goal Pick Why
Zero cost, zero card Gemini CLI with personal Google account Generous free tier, no card required, 60 req/min
Zero cost + multi-provider opencode + Gemini API key (AI Studio free tier) Model-agnostic CLI; swap providers later without changing tool
@Klerith
Klerith / instalaciones-javascript-curso.md
Last active May 30, 2026 08:35
Instalaciones recomendadas - Curso de JavaScript
@herrgahr
herrgahr / fossil-local-wiki.md
Last active May 30, 2026 08:43
Note on using fossil as a local wiki & task mgmt system

Notes

These findings / suggestions were created using Codex (GPT-5.5). It had full view of the fossil sources when creating this.

During creation, the links were all repo-local. They should now point to the official docs at fossil-scm.org, but I didn't check all of them, so I can't guarantee that all of them work.

@sgtvcamera
sgtvcamera / gist:bb439e38613366ee915c49e4303e7909
Created May 30, 2026 08:29
Версия тетриса. Для примера.
#include <iostream>
#include <windows.h>
#include <conio.h>
#include <ctime>
using namespace std;
// Размеры игрового поля
const int WIDTH = 12;
const int HEIGHT = 20;